package com.dindang.checkline.app.utils;

/**
 * 文字转换工具类
 * Created by cxw on & 2019/1/25
 */
public class TextTransformUtils {
    public static int string2Int(String s){
        try {
            int a = Integer.parseInt(s);
            return a;
        } catch (NumberFormatException e) {
            e.printStackTrace();
        }
        return 0;
    }
}
